package com.zatech.cgnci.project.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class ReceiptPaymentBillsAddDTO {

    @ApiModelProperty("自增编号")
    private Long id;
    @ApiModelProperty("账单编号")
    private String invoiceNumber;

    @ApiModelProperty("保单号")
    private String policyNumber;

    @ApiModelProperty("账单接收人")
    private String billRecipient;

    @ApiModelProperty("合约名称")
    private String contractName;

    @ApiModelProperty("项目名称")
    private String projectName;

    @ApiModelProperty("赔案名称")
    private String claimName;

    @ApiModelProperty("账单币种")
    private String currency;

    @ApiModelProperty("收付方向")
    private String direction;

    @ApiModelProperty("账单类型")
    private String billType;

    @ApiModelProperty("应收付日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date dueDate;

    @ApiModelProperty("账单期限")
    private String billingCycle;

    @ApiModelProperty("缴费期次")
    private Integer paymentPeriod;

    @ApiModelProperty("金额")
    private BigDecimal amount;

    @ApiModelProperty("账单状态")
    private String status;

    @ApiModelProperty("创建人")
    private String createUser;
}
